package com.yanqu.road.entity.kuang.battle;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@FieldTypeAnnotation(tableName = "t_c_kuang_battle_end_record")
public class CrossKuangBattleEndRecord extends DataObject {

    @FieldTypeAnnotation(desc = "周次id", select = true, update = true)
    private int weekId;

    @FieldTypeAnnotation(desc = "分组id", select = true, update = true)
    private int groupId;

    @FieldTypeAnnotation(desc = "轮次")
    private int round;

    @FieldTypeAnnotation(desc = "本轮斗法最佳抢点王")
    private CrossKuangBattleBestRecord bestSeizeUser = null;

    @FieldTypeAnnotation(desc = "本轮斗法最佳击杀王")
    private CrossKuangBattleBestRecord bestKillUser = null;

    @FieldTypeAnnotation(desc = "宗门最佳抢点王")
    private Map<Integer, CrossKuangBattleBestRecord> campBestSeizeUserMap = new ConcurrentHashMap<>();

    @FieldTypeAnnotation(desc = "宗门最佳击杀王")
    private Map<Integer, CrossKuangBattleBestRecord> campBestKillUserMap = new ConcurrentHashMap<>();

    @FieldTypeAnnotation(desc = "结束时间")
    private long endTime;

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public CrossKuangBattleBestRecord getBestSeizeUser() {
        return bestSeizeUser;
    }

    public void setBestSeizeUser(CrossKuangBattleBestRecord bestSeizeUser) {
        this.bestSeizeUser = bestSeizeUser;
    }

    public CrossKuangBattleBestRecord getBestKillUser() {
        return bestKillUser;
    }

    public void setBestKillUser(CrossKuangBattleBestRecord bestKillUser) {
        this.bestKillUser = bestKillUser;
    }

    public Map<Integer, CrossKuangBattleBestRecord> getCampBestSeizeUserMap() {
        return campBestSeizeUserMap;
    }

    public void setCampBestSeizeUserMap(Map<Integer, CrossKuangBattleBestRecord> campBestSeizeUserMap) {
        this.campBestSeizeUserMap = campBestSeizeUserMap;
    }

    public Map<Integer, CrossKuangBattleBestRecord> getCampBestKillUserMap() {
        return campBestKillUserMap;
    }

    public void setCampBestKillUserMap(Map<Integer, CrossKuangBattleBestRecord> campBestKillUserMap) {
        this.campBestKillUserMap = campBestKillUserMap;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }
}
